package com.hmall.mapper;

import com.hmall.model.MallAuctionItem;
import com.hmall.util.MyMapper;
import com.hmall.vo.AuctionProductVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MallAuctionItemMapper extends MyMapper<MallAuctionItem> {

    /**
     * @Date 2018/12/26 14:21
     * @Param [packageNo]
     * @return java.util.List<com.hmall.model.MallAuctionItem>
     * @Description  根据竞拍编号得到产品详情
     */
    List<MallAuctionItem> selectByPackageNo(@Param("packageNo") Long packageNo);

    /**
     * @Date 2018/12/26 14:26
     * @Param [packageNo]
     * @return java.util.List<com.hmall.vo.AuctionProductVo>
     * @Description  根据竞拍编号得到封装好的产品详情
     */
    List<AuctionProductVo> selectVoByPackageNo(@Param("packageNo") Long packageNo);
}